package com.bosch.in.rtp1.ept.constant;


public interface ReleasedHoldParameter {
	
	String HOLD_END_FROM = "holdendfrom";
	String HOLD_END_TO = "holdendto";
	
	// JSON parameter
	String JSON_RELEASED_HOLDS = "releasedHolds";
	
	String REL_HOLD_DIAGRAM_TYPE 	= "relDiagramType";
	
	// Types of chart, used to show in combobox
	String[] DIAGRAM_TYPE_LIST 		= {"Average", "Median"};
	int REL_MEDIAN					= 1;
	int REL_AVERAGE					= 0;		
	int DIAGRAM_TYPE_COUNT			= 2;
	
	// Released Hold Chart name
	String REL_HLD_DIAGRAM_NAME		= "REL_DIAGRAM";
	
	//Released Hold Chart size
	int CHART_WIDTH					= 900;
	int CHART_HEIGHT				= 450;
	
	//Name of parameters, used for communication between client/server
	String DIAGRAM_YEAR_PARAMETER   	= "selectedYear";
	String DIAGRAM_PRIO_PARAMETER   	= "selectedPriority";
	String DIAGRAM_MONTH_PARAMETER   	= "selectedMonth";
	String DIAGRAM_TYPE_PARAMETER  	 	= "selectedType";
	
	String DIAGRAM_YEAR_HIDDEN_PARAMETER   = "hiddenSelectedYear";
	String DIAGRAM_MONTH_HIDDEN_PARAMETER  = "hiddenSelectedMonth";
	String DIAGRAM_TYPE_HIDDEN_PARAMETER   = "hiddenSelectedType";
	
	//Name of parameters, used for communication with DB
	String CHART_PRIO1_DB			= "PRIO_1";
	String CHART_PRIO2_DB			= "PRIO_2";
	String CHART_PRIO3_DB			= "PRIO_3";
	String MONTH_DB					= "MONTH";
	String YEAR_DB					= "YEAR";
	String COUNT_PRIO_1_DB			= "COUNT_1";
	String COUNT_PRIO_2_DB			= "COUNT_2";
	String COUNT_PRIO_3_DB			= "COUNT_3";
	String FACTOR_LIST_DB			= "FACTOR_LIST";
	String PRIORITY_DB				= "PRIORITY";
	int SIGMA_TOP_IDX_DB			= 0;
	int SIGMA_MIDD_1_IDX_DB			= 1;
	int MEDIAN_IDX_DB				= 2;
	int SIGMA_MIDD_2_IDX_DB			= 3;
	int SIGMA_BOT_IDX_DB			= 4;
	int HOLD_CODE_IDX_DB			= 5;
	int COUNT_IDX_DB				= 6;
	
	// Box Plot Chart Size
	int BOX_PLOT_WIDTH 				= 600;
	int BOX_PLOT_HEIGHT				= 300;
	
	// HldDurByMonth Chart list
	String HLD_DUR_BY_MONTH_DIAGRAM	= "HLD_DUR_BY_MONTH_DIAGRAM";
	
	// HldActive Chart
	String HLD_ACTIVE_DIAGRAM	= "HLD_ACTIVE_DIAGRAM";
	
	// chart layout
	int NUM_OF_CHART_PER_ROW		= 3;
	
	// chart title				
	String REL_HLD_CHART_TITLE		= "Released Hold Diagram";
	String PRIO_TITLE				= "Prio ";
	
	// yAxis label
	String Y_AXIS_LABEL_HLD_CHART  	= "Hold Duration (day)";
	
	//tool tip info
	String HOLD_COUNT_STRING		= "Num of Released Holds: ";
}
